ComponentOne DataGrid for WPF and Silverlight
SortBy(DataGridColumnValue<DataGridSortDirection>[]) Method

C1.Silverlight.DataGrid Namespace > C1DataGrid Class > SortBy Method : SortBy(DataGridColumnValue<DataGridSortDirection>[]) Method
Array of pairs of columns and sort directions.
Sorts the data by the specified columns and directions.
Syntax
'Declaration
 
Public Overloads Sub SortBy( _
   ByVal ParamArray columns() As DataGridColumnValue(Of DataGridSortDirection) _
) 
public void SortBy( 
   params DataGridColumnValue<DataGridSortDirection>[] columns
)

Parameters

columns
Array of pairs of columns and sort directions.
Exceptions
ExceptionDescription
This exception is raised whether the collection view is not ready to execute a sort operation.
See Also

Reference

C1DataGrid Class
C1DataGrid Members
Overload List